#ifndef __TASK_HPP__
#define __TASK_HPP__
#include <iostream>
#include "Thread.hpp"

using namespace ThreadModule;

void Sleep(size_t second)
{
    sleep(second);
}

class Task
{
public:
    void doing()
    {
        int a = rand() % 20 + 1;
        int b = rand() % 10 + 20;
        int result = a * b;

        printf("result of %2d * %2d = %3d\n", a, b, result);
        // std::cout << "doing Task !" << std::endl;
    }
};

#endif